#pragma once
#include <assert.h>
#define first 1
#define add_size 3
#define name_max 10

typedef struct peoinfo
{
	char name[10];
	int age;
	char sex[5];
	char tele[15];
	char addr[15];
}peoinfo;
typedef struct contact
{
	peoinfo* data;
	int count;
	int max;
}contact;
int initcontact(contact* cc);
void addcontact(contact* cc);
void delcontact(contact* cc);
void searchcontact(contact* cc);
void modifycontact(contact* cc);
void showcontact(contact* cc);
void sortcontact(contact* cc);
void destroycontact(contact* cc);